/**
 * Created by Administrator on 2016/10/22.
 */
public class Main {

    public static void main(String[] args) {
        Photo weddingPhoto = new WeddingPhoto();

        // 精修
        PhotoWithPs photoWithPs = new PhotoWithPs(weddingPhoto);
        System.out.println("最终选择的照片为：" + photoWithPs.getDescription());
        System.out.println("最终单价为：" + photoWithPs.cost());

        // 入册
        IsPhotoAlbum isPhotoAlbum = new IsPhotoAlbum(photoWithPs);
        System.out.println("最终选择的照片为：" + isPhotoAlbum.getDescription());
        System.out.println("最终单价为：" + isPhotoAlbum.cost());
    }
}
